const router = require('koa-router')();
const admin = require('./admin');
const article = require('./article')

// 装载所有子路由
router.use('/admin', admin.routes(), admin.allowedMethods());

router.use('/article', article.routes(), article.allowedMethods());

module.exports = router;